
#include<stdio.h>
#include<stdlib.h>

/*

struct A
{
	char a : 4;
	char b : 3;
	char c : 9;
};

struct C
{
	int a : 10;
	int b : 33;
};

*/





struct B
{
	int a : 4;
	int b : 3;
	int c : 12;
	int d : 30;
};
struct D
{
	int a : 4;
	char b : 8;
	double c : 12;
};




int main()
{
	struct B b = { 0 };

	b.a = 0x2;
	b.b = 0x5;
	b.c = 0x68f;
	b.d = 0x12345678;
	
	int m = 0x123458;

	struct D d = { 0 };
	d.a = 0xf;
	d.b = 0x33;


}